
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

import "element-plus/theme-chalk/el-notification.css";
import "./assets/reset.scss";
import "element-plus/theme-chalk/el-message.css";
import "element-plus/theme-chalk/el-message-box.css";
import { initDB } from '@/indexDB/initDB'
import { useStock } from '@/hooks/useStock'


const app = createApp(App)

app.use(router)

app.mount('#app')

initDB().then(useStock)
